//
//  MYShopSalesOrderBaseTextCell.swift
//  MuYing
//
//  Created by tbb on 2019/7/30.
//  Copyright © 2019 TBB. All rights reserved.
//

import UIKit

class MYShopSalesOrderBaseTextCell: YQTableViewBaseCell {
    @objc lazy var textLb: UILabel = {
        let textLb = UILabel();
        textLb.font = UIFont.systemFont(ofSize: 14, weight: .medium);
        textLb.textColor = appMainTitleColor;
        textLb.text = "---";
        return textLb;
    }()
    
    override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier);
        

    }
    

    override func layoutSubviews() {
        super.layoutSubviews();
        self.textLb.sizeToFit();
        let lbw = self.textLb.width;
        self.contentView.addSubview(self.textLb);
        self.textLb.mas_makeConstraints { (make) in
            make?.left.mas_equalTo()(12);
            make?.centerY.mas_equalTo()(0);
//            make?.size.mas_equalTo()(CGSize(width: lbw, height: 20));
        }
    }

    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    

}
